package com.xn.monitor.common;

/**
 * Created by yangshoujun on 2017/7/15 上午12:12.
 */
public enum ApplicationStatus {

    OK(1, "ok"),
    DOWN(0, "down")

    ;

    private int value;
    private String desc;

    ApplicationStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
